using System;
using System.IO;

namespace EditeurSyntaxiqueVocal.Class
{
    [Serializable]
    public class TokenRecentFile
    {
        private String _pathFile;
        private String _extension;

        public TokenRecentFile(string pathFile, string extension)
        {
            _pathFile = pathFile;
            _extension = extension;
        }

        public TokenRecentFile(string pathFile)
        {
            _pathFile = pathFile;
            _extension = Path.GetExtension(pathFile);
        }

        public string Extension
        {
            get { return _extension; }
            set { _extension = value; }
        }

        public string PathFile
        {
            get { return _pathFile; }
            set { _pathFile = value; }
        }
    }
}